/** @type {import('next').NextConfig} */
import path from 'path';
import { dirname } from 'path'
import { fileURLToPath } from 'url'

const __dirname = dirname(fileURLToPath(import.meta.url))
const isProd = process.env.NODE_ENV === 'production'

const nextConfig = {
    output: "export",
    basePath:isProd?"/web-window11/nextjs/dist":'',
    assetPrefix: isProd?"/web-window11/nextjs/dist":'',
    distDir:isProd?'dist':undefined,
    sassOptions: {
        includePaths: [path.join(__dirname, 'styles')],
    },
    // eslint: {
    //     ignoreDuringBuilds: true,
    // }
};

export default nextConfig;
